package com.tangyuan.Ali;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 支付宝提现返回数据
 */
@NoArgsConstructor
@Data
public class AliPayCashOut {
    @JsonProperty("alipay_fund_trans_uni_transfer_response")
    private AlipayFundTransUniTransferResponseDTO alipayFundTransUniTransferResponse;
    @JsonProperty("alipay_cert_sn")
    private String alipayCertSn;
    @JsonProperty("sign")
    private String sign;

    @NoArgsConstructor
    @Data
    public static class AlipayFundTransUniTransferResponseDTO {
        @JsonProperty("code")
        private String code;
        @JsonProperty("msg")
        private String msg;
        @JsonProperty("sub_msg")
        private String subMsg;
        @JsonProperty("sub_code")
        private String subCode;
        @JsonProperty("order_id")
        private String orderId;
        @JsonProperty("out_biz_no")
        private String outBizNo;
        @JsonProperty("pay_fund_order_id")
        private String payFundOrderId;
        @JsonProperty("status")
        private String status;
        @JsonProperty("trans_date")
        private String transDate;
    }
}
